<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>

    <style>
        *{
            margin: 0;
            padding: 0;
        }
        ul{
            list-style: none;
        }
        .pro{
            width: 1020px;
            height: 620px;
            background-color: gray;
            /* 解决 下边四个 盒子 margin-bottom  超出的影响 */
            overflow: hidden;
            margin: 0 auto;
        }
        .pro .item{
            float: left;
            width: 240px;
            height: 300px;
            background-color: orange;
            margin-right: 20px;
            margin-bottom: 20px;
        }
        .pro .item.mr0{
            margin-right: 0;
        }
    </style>
</head>
<body>
    <ul class="pro">
        <li class="item">1</li>
        <li class="item">1</li>
        <li class="item">1</li>
        <li class="item mr0">1</li>
        <li class="item">1</li>
        <li class="item">1</li>
        <li class="item">1</li>
        <li class="item mr0">1</li>
    </ul>

    <p>不凡学院</p>
</body>
</html>